package com.edu.common.utils;

import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;

/**
 * @program: xxxx
 * @description:
 * @author: zlh
 * @create: 2024-01-04 16:44
 **/
public class ListUtils {

  public static List<Long> strToList(String str){
    return Stream.of(str.split(","))
        .map(Long::parseLong)
        .collect(Collectors.toList());
  }
}
